#ifndef ANIMATION_H
#define ANIMATION_H

#include <QObject>
#include "ConnectFour.h"

#define ACCELERATION -900
#define TIME_STEP (1000 / 60)

namespace Animation {

typedef enum AnimationMode {
    NONE = -1,
    COLUMN_0,
    COLUMN_1,
    COLUMN_2,
    COLUMN_3,
    COLUMN_4,
    COLUMN_5,
    COLUMN_6,
    CLEAR_ALL
} AnimationMode;

typedef struct Drop {
    AnimationMode mode;
    int startY;
    int currentY;
    int endY;
    int positionX;
    float time;
    ConnectFour::Piece color;
} Drop;

}

#endif // ANIMATION_H
